﻿using System;
using Autodesk.Revit.DB;

namespace StairsModuleAndEdit.StairsModel.CommonUnit
{
	public class ViewUtils
	{
		public static double GetViewRotateAngle(View view)
		{
			XYZ rightDirection = view.RightDirection;
			return Geometry.GetRotateAngle(XYZ.BasisX, rightDirection);
		}
	}
}
